package com.tem.seller.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 提现申请，还需完善
 * </p>
 *
 * @author 腾木
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("seller_withdrawal")
@ApiModel(value="SellerWithdrawal对象", description="提现申请，还需完善")
public class SellerWithdrawal implements Serializable {
    private static final long serialVersionUID=32309681L;
    @ApiModelProperty(value = "商家提现结算记录")
    @TableId(value = "seller_withdrawal_id", type = IdType.AUTO)
    private Long sellerWithdrawalId;

    @ApiModelProperty(value = "商家")
    @TableField("seller_id")
    private Long sellerId;

    @ApiModelProperty(value = "申请时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "状态 0失效 1有效")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "申请说明")
    @TableField("msg")
    private String msg;

    @ApiModelProperty(value = "取款账号类别 1微信 4支付宝 9网银 20线下")
    @TableField("collection_type")
    private Integer collectionType;

    @ApiModelProperty(value = "取款账号名称")
    @TableField("collection_name")
    private String collectionName;

    @ApiModelProperty(value = "取款账号NO")
    @TableField("collection_account")
    private String collectionAccount;

    @ApiModelProperty(value = "审核人")
    @TableField("check_user_id")
    private Long checkUserId;

    @ApiModelProperty(value = "审核时间")
    @TableField("check_time")
    private LocalDateTime checkTime;

    @ApiModelProperty(value = "审核状态 0待审核 1审核通过 5审核不通过")
    @TableField("check_state")
    private Integer checkState;

    @ApiModelProperty(value = "审核说明")
    @TableField("check_msg")
    private String checkMsg;

    @ApiModelProperty(value = "转账人")
    @TableField("pay_user_id")
    private Long payUserId;

    @ApiModelProperty(value = "转账时间")
    @TableField("pay_time")
    private LocalDateTime payTime;

    @ApiModelProperty(value = "转账状态 0待转账 1已转账 5转账失败")
    @TableField("pay_state")
    private Integer payState;

    @ApiModelProperty(value = "转账说明")
    @TableField("pay_msg")
    private String payMsg;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;
}